package com.jz.community.moduleshoppingguide.search.bean;

import com.jz.community.basecomm.bean.baseCommInfo.LinksInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/6/5 09:22
 */
public class SearchGoodsInfo {

    /**
     * _embedded : {"content":[{"id":62,"status":3,"title":"草莓","image":["http://goodspics.oss-cn-beijing.aliyuncs.com/1526895271942.jpg?Expires=1842255262&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=0ADmPzkywv1TZKiQ1kkgSI0t51Q%3D"],"distributionType":0,"citycode":["610100"],"buyType":0,"onLineType":1,"price":5,"account":null,"saleCount":0,"_embedded":{"category":{"id":131,"name":"鲜花1","platformInfo":"http://microservice.shoppingyizhan.com/dic/code-tables/2","_embedded":{"childCategory":[]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/131"},"platformInfo":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}}},"assuranceServices":[{"id":28,"status":0,"version":0,"createTime":"2018-04-09 15:54:18","updateTime":"2018-04-09 15:54:18","name":"正品保障","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/28"}}},{"id":29,"status":0,"version":0,"createTime":"2018-04-09 15:54:46","updateTime":"2018-04-09 15:54:46","name":"社区人自营品牌","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/29"}}}]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-infoes/62"},"content":{"href":"http://microservice.shoppingyizhan.com/gds/goods/content/62"},"shopInfo":{"href":"http://microservice.shoppingyizhan.com/shp/shops/42"}}},{"id":69,"status":3,"title":"2018053102测试草莓","image":["http://goodspics.oss-cn-beijing.aliyuncs.com/1527757430425.jpg?Expires=1843117421&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=VROfoK8HpCfXuA6PvgqobKZHeD4%3D"],"distributionType":2,"citycode":["610100"],"buyType":0,"onLineType":1,"price":20,"account":null,"saleCount":0,"_embedded":{"category":{"id":171,"name":"应季水果","platformInfo":"http://api.shoppingyizhan.com/dic/code-tables/2","_embedded":{"childCategory":[]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/171"},"platformInfo":{"href":"http://api.shoppingyizhan.com/dic/code-tables/2"}}},"assuranceServices":[{"id":28,"status":0,"version":0,"createTime":"2018-04-09 15:54:18","updateTime":"2018-04-09 15:54:18","name":"正品保障","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/28"}}},{"id":29,"status":0,"version":0,"createTime":"2018-04-09 15:54:46","updateTime":"2018-04-09 15:54:46","name":"社区人自营品牌","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/29"}}},{"id":30,"status":0,"version":0,"createTime":"2018-04-09 15:54:53","updateTime":"2018-04-09 15:54:53","name":"支持无理由退货","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/30"}}},{"id":31,"status":0,"version":0,"createTime":"2018-04-09 15:55:02","updateTime":"2018-04-09 15:55:02","name":"自提点代收免邮","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/31"}}}]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-infoes/69"},"content":{"href":"http://microservice.shoppingyizhan.com/gds/goods/content/69"},"shopInfo":{"href":"http://api.shoppingyizhan.com/shp/shops/104"}}},{"id":70,"status":3,"title":"201805310202草莓","image":["http://goodspics.oss-cn-beijing.aliyuncs.com/1527757499807.jpg?Expires=1843117495&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=vKimAvL%2BTdYenLX9l9ZQguLKaX0%3D"],"distributionType":2,"citycode":["610100"],"buyType":0,"onLineType":1,"price":20,"account":null,"saleCount":0,"_embedded":{"category":{"id":172,"name":"国产水果","platformInfo":"http://api.shoppingyizhan.com/dic/code-tables/2","_embedded":{"childCategory":[]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/172"},"platformInfo":{"href":"http://api.shoppingyizhan.com/dic/code-tables/2"}}},"assuranceServices":[{"id":28,"status":0,"version":0,"createTime":"2018-04-09 15:54:18","updateTime":"2018-04-09 15:54:18","name":"正品保障","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/28"}}},{"id":29,"status":0,"version":0,"createTime":"2018-04-09 15:54:46","updateTime":"2018-04-09 15:54:46","name":"社区人自营品牌","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/29"}}},{"id":30,"status":0,"version":0,"createTime":"2018-04-09 15:54:53","updateTime":"2018-04-09 15:54:53","name":"支持无理由退货","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/30"}}},{"id":31,"status":0,"version":0,"createTime":"2018-04-09 15:55:02","updateTime":"2018-04-09 15:55:02","name":"自提点代收免邮","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/31"}}}]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-infoes/70"},"content":{"href":"http://microservice.shoppingyizhan.com/gds/goods/content/70"},"shopInfo":{"href":"http://api.shoppingyizhan.com/shp/shops/104"}}}]}
     */

    private EmbeddedBeanXX _embedded;

    public EmbeddedBeanXX get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBeanXX _embedded) {
        this._embedded = _embedded;
    }

    public static class EmbeddedBeanXX {
        private List<ContentBeanX> content;

        public List<ContentBeanX> getContent() {
            return content;
        }

        public void setContent(List<ContentBeanX> content) {
            this.content = content;
        }

        public static class ContentBeanX extends LinksInfo{
            /**
             * id : 62
             * status : 3
             * title : 草莓
             * image : ["http://goodspics.oss-cn-beijing.aliyuncs.com/1526895271942.jpg?Expires=1842255262&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=0ADmPzkywv1TZKiQ1kkgSI0t51Q%3D"]
             * distributionType : 0
             * citycode : ["610100"]
             * buyType : 0
             * onLineType : 1
             * price : 5
             * account : null
             * saleCount : 0
             * _embedded : {"category":{"id":131,"name":"鲜花1","platformInfo":"http://microservice.shoppingyizhan.com/dic/code-tables/2","_embedded":{"childCategory":[]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/131"},"platformInfo":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}}},"assuranceServices":[{"id":28,"status":0,"version":0,"createTime":"2018-04-09 15:54:18","updateTime":"2018-04-09 15:54:18","name":"正品保障","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/28"}}},{"id":29,"status":0,"version":0,"createTime":"2018-04-09 15:54:46","updateTime":"2018-04-09 15:54:46","name":"社区人自营品牌","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/29"}}}]}
             * links : {"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-infoes/62"},"content":{"href":"http://microservice.shoppingyizhan.com/gds/goods/content/62"},"shopInfo":{"href":"http://microservice.shoppingyizhan.com/shp/shops/42"}}
             */

            private String id;
            private String status;
            private String title;
            private String distributionType;
            private String buyType;
            private String onLineType;
            private String price;
            private String discountPrice;
            private String account;
            private String saleCount;
            private EmbeddedBeanX _embedded;
            private List<String> image;
            private String icon;
            private List<String> citycode;

            public String getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(String discountPrice) {
                this.discountPrice = discountPrice;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDistributionType() {
                return distributionType;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public void setDistributionType(String distributionType) {
                this.distributionType = distributionType;
            }

            public String getBuyType() {
                return buyType;
            }

            public void setBuyType(String buyType) {
                this.buyType = buyType;
            }

            public String getOnLineType() {
                return onLineType;
            }

            public void setOnLineType(String onLineType) {
                this.onLineType = onLineType;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public String getSaleCount() {
                return saleCount;
            }

            public void setSaleCount(String saleCount) {
                this.saleCount = saleCount;
            }

            public EmbeddedBeanX get_embedded() {
                return _embedded;
            }

            public void set_embedded(EmbeddedBeanX _embedded) {
                this._embedded = _embedded;
            }

            public List<String> getImage() {
                return image;
            }

            public void setImage(List<String> image) {
                this.image = image;
            }

            public List<String> getCitycode() {
                return citycode;
            }

            public void setCitycode(List<String> citycode) {
                this.citycode = citycode;
            }

            public static class EmbeddedBeanX {
                /**
                 * category : {"id":131,"name":"鲜花1","platformInfo":"http://microservice.shoppingyizhan.com/dic/code-tables/2","_embedded":{"childCategory":[]},"links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/131"},"platformInfo":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}}}
                 * assuranceServices : [{"id":28,"status":0,"version":0,"createTime":"2018-04-09 15:54:18","updateTime":"2018-04-09 15:54:18","name":"正品保障","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/28"}}},{"id":29,"status":0,"version":0,"createTime":"2018-04-09 15:54:46","updateTime":"2018-04-09 15:54:46","name":"社区人自营品牌","links":{"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/29"}}}]
                 */

                private CategoryBean category;
                private List<AssuranceServicesBean> assuranceServices;

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public List<AssuranceServicesBean> getAssuranceServices() {
                    return assuranceServices;
                }

                public void setAssuranceServices(List<AssuranceServicesBean> assuranceServices) {
                    this.assuranceServices = assuranceServices;
                }

                public static class CategoryBean {
                    /**
                     * id : 131
                     * name : 鲜花1
                     * platformInfo : http://microservice.shoppingyizhan.com/dic/code-tables/2
                     * _embedded : {"childCategory":[]}
                     * links : {"self":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/131"},"platformInfo":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}}
                     */

                    private String id;
                    private String name;
                    private String platformInfo;
                    private EmbeddedBean _embedded;
                    private LinksBean links;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getPlatformInfo() {
                        return platformInfo;
                    }

                    public void setPlatformInfo(String platformInfo) {
                        this.platformInfo = platformInfo;
                    }

                    public EmbeddedBean get_embedded() {
                        return _embedded;
                    }

                    public void set_embedded(EmbeddedBean _embedded) {
                        this._embedded = _embedded;
                    }

                    public LinksBean getLinks() {
                        return links;
                    }

                    public void setLinks(LinksBean links) {
                        this.links = links;
                    }

                    public static class EmbeddedBean {
                        private List<?> childCategory;

                        public List<?> getChildCategory() {
                            return childCategory;
                        }

                        public void setChildCategory(List<?> childCategory) {
                            this.childCategory = childCategory;
                        }
                    }

                    public static class LinksBean {
                        /**
                         * self : {"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/131"}
                         * platformInfo : {"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}
                         */

                        private SelfBean self;
                        private PlatformInfoBean platformInfo;

                        public SelfBean getSelf() {
                            return self;
                        }

                        public void setSelf(SelfBean self) {
                            this.self = self;
                        }

                        public PlatformInfoBean getPlatformInfo() {
                            return platformInfo;
                        }

                        public void setPlatformInfo(PlatformInfoBean platformInfo) {
                            this.platformInfo = platformInfo;
                        }

                        public static class SelfBean {
                            /**
                             * href : http://microservice.shoppingyizhan.com/gds/goods-categories/131
                             */

                            private String href;

                            public String getHref() {
                                return href;
                            }

                            public void setHref(String href) {
                                this.href = href;
                            }
                        }

                        public static class PlatformInfoBean {
                            /**
                             * href : http://microservice.shoppingyizhan.com/dic/code-tables/2
                             */

                            private String href;

                            public String getHref() {
                                return href;
                            }

                            public void setHref(String href) {
                                this.href = href;
                            }
                        }
                    }
                }

                public static class AssuranceServicesBean {
                    /**
                     * id : 28
                     * status : 0
                     * version : 0
                     * createTime : 2018-04-09 15:54:18
                     * updateTime : 2018-04-09 15:54:18
                     * name : 正品保障
                     * links : {"self":{"href":"http://microservice.shoppingyizhan.com/gds/assuranceservice/28"}}
                     */

                    private String id;
                    private String status;
                    private String version;
                    private String createTime;
                    private String updateTime;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getStatus() {
                        return status;
                    }

                    public void setStatus(String status) {
                        this.status = status;
                    }

                    public String getVersion() {
                        return version;
                    }

                    public void setVersion(String version) {
                        this.version = version;
                    }

                    public String getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(String createTime) {
                        this.createTime = createTime;
                    }

                    public String getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(String updateTime) {
                        this.updateTime = updateTime;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                }
            }
        }
    }
}
